package de.herberlin.webapp.image;

import de.herberlin.webapp.image.transform.CutOverlappingTransformer;
import de.herberlin.webapp.image.transform.LeaveBorderTransformer;
import de.herberlin.webapp.image.transform.Transformer;

public enum ImageDescription {

	FULL(254,220,CutOverlappingTransformer.class),
	GALLERY_EDIT(180,120,LeaveBorderTransformer.class),
	GALLERY_THUMB(164,100,CutOverlappingTransformer.class),
	
	KEEP_ASPECT(250,200,CutOverlappingTransformer.class);
	
	
	
	ImageDescription(int width,int height, Class transformer) {		
		this.height=height;
		this.width=width;
		this.transformerClass=transformer;
	}
	private int width=0;
	private int height=0;
	private Class transformerClass=null;
	public int getHeight() {
		return height;
	}
	public Class getTransformerClass() {
		return transformerClass;
	}
	public int getWidth() {
		return width;
	}
}
